package com.jingzhi.huimiao.bean;

/**
 * 排行榜的解析类信息
 * 
 * @author cxk
 *
 *
 */
public class RankingInfo {
	private int ranking;
	private RankingUsers[] rankingUsers;
	private UInfo user;
	
	
	
	public int getRanking() {
		return ranking;
	}

	public void setRanking(int ranking) {
		this.ranking = ranking;
	}

	public RankingUsers[] getRankingUsers() {
		return rankingUsers;
	}

	public void setRankingUsers(RankingUsers[] rankingUsers) {
		this.rankingUsers = rankingUsers;
	}

	public UInfo getUser() {
		return user;
	}

	public void setUser(UInfo user) {
		this.user = user;
	}

	public class RankingUsers{
		private String createTime;
		private int experience;
		private long id;
		private String imagePath;
		private String password;
		private String username;
		private String nickname;
		private int totalDay;
		
		
		public String getNickname() {
			return nickname;
		}
		public void setNickname(String nickname) {
			this.nickname = nickname;
		}
		public String getCreateTime() {
			return createTime;
		}
		public void setCreateTime(String createTime) {
			this.createTime = createTime;
		}
		public int getExperience() {
			return experience;
		}
		public void setExperience(int experience) {
			this.experience = experience;
		}
		public long getId() {
			return id;
		}
		public void setId(long id) {
			this.id = id;
		}
		public String getImagePath() {
			return imagePath;
		}
		public void setImagePath(String imagePath) {
			this.imagePath = imagePath;
		}
		public String getPassword() {
			return password;
		}
		public void setPassword(String password) {
			this.password = password;
		}
		public String getUsername() {
			return username;
		}
		public void setUsername(String username) {
			this.username = username;
		}
		public int getTotalDay() {
			return totalDay;
		}
		public void setTotalDay(int totalDay) {
			this.totalDay = totalDay;
		}
		
		
		
	}
	
	public class UInfo{
		private String createTime;
		private int experience;
		private long id;
		private String imagePath;
		private String password;
		private String username;
		private String nickname;//nickname
		private int totalDay;
		
		
		public String getNickname() {
			return nickname;
		}
		public void setNickname(String nickname) {
			this.nickname = nickname;
		}
		public String getCreateTime() {
			return createTime;
		}
		public void setCreateTime(String createTime) {
			this.createTime = createTime;
		}
		public int getExperience() {
			return experience;
		}
		public void setExperience(int experience) {
			this.experience = experience;
		}
		public long getId() {
			return id;
		}
		public void setId(long id) {
			this.id = id;
		}
		public String getImagePath() {
			return imagePath;
		}
		public void setImagePath(String imagePath) {
			this.imagePath = imagePath;
		}
		public String getPassword() {
			return password;
		}
		public void setPassword(String password) {
			this.password = password;
		}
		public String getUsername() {
			return username;
		}
		public void setUsername(String username) {
			this.username = username;
		}
		public int getTotalDay() {
			return totalDay;
		}
		public void setTotalDay(int totalDay) {
			this.totalDay = totalDay;
		}
		
		
	}
}

/**RankingUsers
 * {
            "continueDay": 4,
            "createTime": "2015-12-18T00:00:00",
            "experience": 56,
            "id": 52,
            "imagePath": "http://192.168.1.100:8080/GeniusWay/attach/GeniusWay/2016/1/10/1452417032043.jpeg",
            "password": "1",
            "totalDay": 4,
            "updateTime": "2015-12-24T00:00:00",
            "username": "aaa"
        }
 */
/**
 *  "user": {
        "createTime": "2015-12-28T00:00:00",
        "experience": 10,
        "id": 92,
        "imagePath": "http://192.168.1.100:8080/GeniusWay/attach/GeniusWay/2016/1/10/1452411771485.jpg",
        "password": "4",
        "totalDay": 2,
        "username": "4"
    } 
 */
